Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@smithy/credential-provider-imds

Package Overview
Dependencies
Maintainers
0
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smithy/credential-provider-imds

AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service

  • 3.2.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created

What is @smithy/credential-provider-imds?

The @smithy/credential-provider-imds package is designed to retrieve AWS credentials from the EC2 Instance Metadata Service (IMDS). It allows applications running on EC2 instances to securely obtain temporary credentials without needing to hard-code them. This is particularly useful for managing access to AWS services in a secure and scalable way.

What are @smithy/credential-provider-imds's main functionalities?

Fetching credentials from IMDS

This feature allows the retrieval of AWS credentials from the EC2 Instance Metadata Service. The provided code sample demonstrates how to asynchronously fetch these credentials using the fromInstanceMetadata function.

const { fromInstanceMetadata } = require('@smithy/credential-provider-imds');

async function getCredentials() {
  const credentials = await fromInstanceMetadata();
  return credentials;
}

Other packages similar to @smithy/credential-provider-imds

Keywords

FAQs

Package last updated on 09 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc